package com.qf.commons.remote.student;

import com.qf.commons.domain.base.R;
import com.qf.commons.domain.student.Student;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "stu-server", contextId = "stu-server")
public interface StuRemote {

    @RequestMapping("/student/insert")
    public R insert(Student student);
}
